import { Component } from '@angular/core';

@Component({
  selector: 'register-success',
  template: `
    <nz-result style="margin-top: 25%"
      nzStatus="success"
      nzTitle="欢迎使用bby网盘，您已注册成功!"
    >
      <div nz-result-extra>
        <button nz-button nzType="primary" routerLink="/login">去登录</button>
        <button nz-button routerLink="/">回主页</button>
      </div>
    </nz-result>
  `
})
export class RegisterSuccessComponent {
  time = new Date();
  constructor() {
  }
}
